/**
 * 
 */
package design_pattern.iterator;

/**
 * @author linzq
 * 
 */
public class Client {

  public static void main(String[] args) {
    ConcreteAggregate agg = new ConcreteAggregate();
    Iterator i = agg.iterator();
    while (i.hasNext()) {
      System.out.println(i.next().toString());
    }
  }
}
